Get<T>(DicomDataSet) Method

Summary
Gets the specified data from the DICOM data set and assigns it in a new instance of T.
Syntax
C#
VB
C++
public static T Get<T>( 
   this DicomDataSet ds 
) 
<ExtensionAttribute()> 
Public Overloads Shared Function Get(Of T As {})( _ 
   ByVal ds As DicomDataSet _ 
) As T 
[ExtensionAttribute()] 
public: 
static _T^_ Getgeneric<typename T> 
(  
   DicomDataSet^ ds 
)  
where T : gcnew() 

Parameters

ds
The data set to read the information from.

Type Parameters

T
The type of data to get from the DICOM data set.

Return Value

A new instance of T with the information from the DICOM data set.

Example

For an example refer to ElementAttribute

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.